package rhc.common.commons;

/**状态类
 * @author lenovo1
 *
 */
public enum GeneralStatus {

	SUCCESS(0,"success"),FAIL(1,"fail");
	private int code;
	private String detail;
	
	GeneralStatus(int code,String detail){
		this.code=code;
		this.detail=detail;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}
	
	
}
